import { createApp } from 'vue';
import App from './App.vue';
import { createPinia } from 'pinia';
import router from './router';

const pinia = createPinia();
const app = createApp(App);

pinia.use(() => ({ hello: 123 }));

app.config.globalProperties.$pinia = pinia;

app.provide('pinia', '123');

app.use(router);
app.use(pinia);
app.mount('#app');
